var query = function(form){
	var isQuery = "inner";//inner 在系统里显示查询结果，outer：用谷歌显示查询结果
	if(isQuery == "outer"){
		var param = $("#search").val();
		var siteSearch = "${blogHost}";
		param = "site:"+siteSearch + " " + param;
		window.open("https://www.google.com.hk/search?q="+param);
		return false;
	}else{
		var test = "${blogHost}";
		var param = $("#search").val();
		window.location.href = latkeConfig.staticServePath + "/query/" + param;
		//form.target="_parent";
		//form.submit();
		return false;
	}
	
}